home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Hyper / F / FilmPro.cpt / FilmPro / background_2711.txt < prev    next >
Encoding:
Text File  |  1988-04-17  |  14.3 KB  |  705 lines

  1. -- background: 2711 from stack: in
  2. -- bmap block id: 3227
  3. -- flags: 4000
  4. -- background id: 0
  5. -- name: FilmPro
  6. ----- HyperTalk script -----
  7. on openstack
  8.   hide background field "hidden keywords"
  9.   hide bkgnd  button "done"
  10.   hide bkgnd field "hidden about"
  11. end openstack
  12.  
  13. on closestack
  14.   if the freesize of this stack > 0.15 * the size of this stack then
  15.     set cursor to 4
  16.     domenu "compact stack"
  17.   end if
  18. end closestack
  19.  
  20.  
  21.  
  22.  
  23. -- part 1 (button)
  24. -- low flags: 00
  25. -- high flags: 0000
  26. -- rect: left=253 top=25 right=58 bottom=297
  27. -- title width / last selected line: 0
  28. -- icon id / first selected line: 0 / 0
  29. -- text alignment: 1
  30. -- font id: 0
  31. -- text size: 12
  32. -- style flags: 0
  33. -- line height: 16
  34. -- part name: Keywords
  35. ----- HyperTalk script -----
  36. on mouseUp
  37.   beep
  38.   answer "There is no point in entering Keywords here."
  39.  
  40. end mouseUp
  41.  
  42.  
  43.  
  44. -- part 2 (button)
  45. -- low flags: 00
  46. -- high flags: 0000
  47. -- rect: left=301 top=27 right=56 bottom=331
  48. -- title width / last selected line: 0
  49. -- icon id / first selected line: 8538 / 8538
  50. -- text alignment: 1
  51. -- font id: 0
  52. -- text size: 12
  53. -- style flags: 0
  54. -- line height: 16
  55. -- part name: find
  56. ----- HyperTalk script -----
  57. on mouseUp
  58.   beep
  59.   answer "You should go to the appropriate stack first."
  60. end mouseUp
  61.  
  62.  
  63.  
  64. -- part 3 (button)
  65. -- low flags: 00
  66. -- high flags: 0000
  67. -- rect: left=340 top=25 right=56 bottom=375
  68. -- title width / last selected line: 0
  69. -- icon id / first selected line: 20186 / 20186
  70. -- text alignment: 1
  71. -- font id: 0
  72. -- text size: 12
  73. -- style flags: 0
  74. -- line height: 16
  75. -- part name: Sort
  76. ----- HyperTalk script -----
  77. on mouseUp
  78.   beep
  79.   answer "This stack has no cards to sort."
  80.  
  81. end mouseUp
  82.  
  83.  
  84.  
  85. -- part 4 (button)
  86. -- low flags: 00
  87. -- high flags: 0003
  88. -- rect: left=427 top=30 right=54 bottom=456
  89. -- title width / last selected line: 0
  90. -- icon id / first selected line: 10610 / 10610
  91. -- text alignment: 1
  92. -- font id: 0
  93. -- text size: 12
  94. -- style flags: 0
  95. -- line height: 16
  96. -- part name: Dial
  97. ----- HyperTalk script -----
  98. on mouseUp
  99.   beep
  100.   Answer "There is nobody to dial on this card."
  101. end mouseUp
  102.  
  103.  
  104.  
  105. -- part 7 (button)
  106. -- low flags: 00
  107. -- high flags: 2000
  108. -- rect: left=212 top=28 right=56 bottom=246
  109. -- title width / last selected line: 0
  110. -- icon id / first selected line: 32462 / 32462
  111. -- text alignment: 1
  112. -- font id: 0
  113. -- text size: 12
  114. -- style flags: 0
  115. -- line height: 16
  116. -- part name: Button Help 
  117. ----- HyperTalk script -----
  118.  
  119. on mouseup
  120.   push this card
  121.   set cursor to 4
  122.   visual effect barn door open
  123.   go to stack "FilmPro Help"
  124. end mouseup
  125.  
  126.  
  127.  
  128. -- part 9 (button)
  129. -- low flags: 00
  130. -- high flags: 0000
  131. -- rect: left=465 top=24 right=57 bottom=504
  132. -- title width / last selected line: 0
  133. -- icon id / first selected line: 1007 / 1007
  134. -- text alignment: 1
  135. -- font id: 0
  136. -- text size: 12
  137. -- style flags: 0
  138. -- line height: 16
  139. -- part name: Print
  140. ----- HyperTalk script -----
  141. on mouseUp
  142.   play harpsichord
  143.   answer "Proceed with Printing?" with "This Card" or "This Stack" or "Cancel"
  144.   if it is "This Card" then domenu "Print card"
  145.   else if it is "This Stack" then domenu "Print stack..."
  146. end mouseUp
  147.  
  148.  
  149.  
  150. -- part 11 (button)
  151. -- low flags: 00
  152. -- high flags: 2000
  153. -- rect: left=3 top=218 right=254 bottom=39
  154. -- title width / last selected line: 65535
  155. -- icon id / first selected line: -15743 / 49793
  156. -- text alignment: 1
  157. -- font id: 0
  158. -- text size: 12
  159. -- style flags: 0
  160. -- line height: 16
  161. -- part name: Crews Stack Button
  162. ----- HyperTalk script -----
  163. on mouseUp
  164.   set cursor to 4
  165.   hide bkgnd field "hidden about"
  166.   push this card
  167.   visual effect dissolve  to white
  168.   visual effect dissolve
  169.   go to stack "crews"
  170. end mouseUp
  171.  
  172.  
  173.  
  174. -- part 12 (button)
  175. -- low flags: 00
  176. -- high flags: 2000
  177. -- rect: left=0 top=261 right=294 bottom=42
  178. -- title width / last selected line: 0
  179. -- icon id / first selected line: 9761 / 9761
  180. -- text alignment: 1
  181. -- font id: 0
  182. -- text size: 12
  183. -- style flags: 0
  184. -- line height: 16
  185. -- part name: Locations Stack Button
  186. ----- HyperTalk script -----
  187. on mouseUp
  188.   set cursor to 4
  189.   hide bkgnd field  "hidden about"
  190.   push card
  191.   visual effect dissolve  to white
  192.   visual effect dissolve
  193.   go to stack "Locations"
  194. end mouseUp
  195.  
  196.  
  197.  
  198.  
  199. -- part 13 (button)
  200. -- low flags: 00
  201. -- high flags: 2000
  202. -- rect: left=0 top=57 right=92 bottom=42
  203. -- title width / last selected line: 0
  204. -- icon id / first selected line: 2002 / 2002
  205. -- text alignment: 1
  206. -- font id: 0
  207. -- text size: 12
  208. -- style flags: 0
  209. -- line height: 16
  210. -- part name: Client Stack Button
  211. ----- HyperTalk script -----
  212. on mouseUp
  213.   set cursor to 4
  214.   hide bkgnd field "hidden about"
  215.   push this card
  216.   visual effect dissolve  to white
  217.   visual effect dissolve
  218.   go to stack "Clients"
  219. end mouseUp
  220.  
  221.  
  222.  
  223. -- part 14 (button)
  224. -- low flags: 00
  225. -- high flags: 2000
  226. -- rect: left=47 top=301 right=331 bottom=79
  227. -- title width / last selected line: 0
  228. -- icon id / first selected line: 29114 / 29114
  229. -- text alignment: 1
  230. -- font id: 0
  231. -- text size: 12
  232. -- style flags: 0
  233. -- line height: 16
  234. -- part name: return
  235. ----- HyperTalk script -----
  236. on mouseUp
  237.   visual effect wipe left fast to black
  238.   visual effect wipe right fast
  239.   pop card
  240. end mouseUp
  241.  
  242.  
  243.  
  244. -- part 15 (button)
  245. -- low flags: 00
  246. -- high flags: 2000
  247. -- rect: left=7 top=183 right=210 bottom=35
  248. -- title width / last selected line: 0
  249. -- icon id / first selected line: 0 / 0
  250. -- text alignment: 1
  251. -- font id: 0
  252. -- text size: 12
  253. -- style flags: 0
  254. -- line height: 16
  255. -- part name: Memo
  256. ----- HyperTalk script -----
  257. on mouseUp
  258.   set cursor to 4
  259.   hide bkgnd field "hidden about"
  260.   push this card
  261.   visual effect dissolve  to white
  262.   visual effect dissolve
  263.   go to last card in stack memos
  264. end mouseUp
  265.  
  266.  
  267.  
  268. -- part 16 (button)
  269. -- low flags: 00
  270. -- high flags: 2000
  271. -- rect: left=3 top=139 right=171 bottom=40
  272. -- title width / last selected line: 0
  273. -- icon id / first selected line: 18814 / 18814
  274. -- text alignment: 1
  275. -- font id: 0
  276. -- text size: 12
  277. -- style flags: 0
  278. -- line height: 16
  279. -- part name: Call Sheets
  280. ----- HyperTalk script -----
  281. on mouseUp
  282.   set cursor to 4
  283.   hide bkgnd field "hidden about"
  284.   push this card
  285.   visual effect dissolve  to white
  286.   visual effect dissolve
  287.   go to last card in  stack Call Sheets
  288. end mouseUp
  289.  
  290.  
  291.  
  292. -- part 19 (button)
  293. -- low flags: 00
  294. -- high flags: 2000
  295. -- rect: left=0 top=95 right=133 bottom=43
  296. -- title width / last selected line: 0
  297. -- icon id / first selected line: 0 / 0
  298. -- text alignment: 1
  299. -- font id: 0
  300. -- text size: 12
  301. -- style flags: 0
  302. -- line height: 16
  303. -- part name: jobs stack button
  304. ----- HyperTalk script -----
  305. on mouseUp
  306.   set cursor to 4
  307.   hide bkgnd field "hidden about"
  308.   push this card
  309.   visual effect dissolve  to white
  310.   visual effect dissolve
  311.   go to last card in stack Job File
  312. end mouseUp
  313.  
  314.  
  315.  
  316. -- part 20 (field)
  317. -- low flags: 80
  318. -- high flags: 0001
  319. -- rect: left=208 top=24 right=58 bottom=503
  320. -- title width / last selected line: 0
  321. -- icon id / first selected line: 0 / 0
  322. -- text alignment: 0
  323. -- font id: 3
  324. -- text size: 12
  325. -- style flags: 0
  326. -- line height: 16
  327. -- part name: hidden keywords
  328.  
  329.  
  330. -- part 22 (field)
  331. -- low flags: 80
  332. -- high flags: 2007
  333. -- rect: left=148 top=91 right=272 bottom=397
  334. -- title width / last selected line: 0
  335. -- icon id / first selected line: 0 / 0
  336. -- text alignment: 0
  337. -- font id: 3
  338. -- text size: 12
  339. -- style flags: 0
  340. -- line height: 16
  341. -- part name: hidden about
  342.  
  343.  
  344. -- part 23 (button)
  345. -- low flags: 00
  346. -- high flags: 2001
  347. -- rect: left=427 top=92 right=128 bottom=465
  348. -- title width / last selected line: 0
  349. -- icon id / first selected line: 1 / 1
  350. -- text alignment: 1
  351. -- font id: 0
  352. -- text size: 12
  353. -- style flags: 0
  354. -- line height: 16
  355. -- part name: TELL ABOUT
  356. ----- HyperTalk script -----
  357. on mouseUp
  358.   set scroll of bkgnd field "hidden about" to 1
  359.   show bkgnd field "hidden about"
  360.   show bkgnd button "done"
  361.  
  362. end mouseUp
  363.  
  364.  
  365.  
  366. -- part 24 (button)
  367. -- low flags: 00
  368. -- high flags: A003
  369. -- rect: left=147 top=277 right=307 bottom=222
  370. -- title width / last selected line: 0
  371. -- icon id / first selected line: 0 / 0
  372. -- text alignment: 1
  373. -- font id: 0
  374. -- text size: 12
  375. -- style flags: 0
  376. -- line height: 16
  377. -- part name: New Job
  378. ----- HyperTalk script -----
  379. on mouseUp
  380.   push this card
  381.   set cursor to 4
  382.   set lockscreen to true
  383.   go  stack Job File
  384.   sort numeric by bkgnd field "job #"
  385.   domenu "last"
  386.   set lockscreen to false
  387.   put bkgnd field "job #" into holder
  388.   add 1 to holder
  389.   play harpsichord
  390.   ask "The next job # will be... " with holder
  391.   put it into holder2
  392.   if holder2 is empty then
  393.     exit mouseup
  394.   else if holder2 is not empty then
  395.  
  396.     visual effect scroll left to black
  397.     visual effect scroll left
  398.     domenu "new card"
  399.     put holder2 into bkgnd field "job #"
  400.     play harpsichord
  401.     answer "Save this new job # ?" with "Delete" or "Save"
  402.     if it is "delete" then
  403.       set lockscreen to true
  404.       domenu "delete card"
  405.       go to previous card
  406.       set lockscreen to false
  407.     else if it is "Save" then
  408.       get the loc of bkgnd field "job #"
  409.       click at it
  410.       tabkey
  411.     end if
  412.   end if
  413. end mouseUp
  414.  
  415.  
  416.  
  417. -- part 25 (button)
  418. -- low flags: 00
  419. -- high flags: A003
  420. -- rect: left=325 top=277 right=307 bottom=399
  421. -- title width / last selected line: 0
  422. -- icon id / first selected line: 0 / 0
  423. -- text alignment: 1
  424. -- font id: 0
  425. -- text size: 12
  426. -- style flags: 0
  427. -- line height: 16
  428. -- part name: Old Job
  429. ----- HyperTalk script -----
  430. on mouseUp
  431.   push this card
  432.   play harpsichord
  433.   ask "Please Enter Job #"
  434.  
  435.   if it is empty then
  436.     exit mouseup
  437.   end if
  438.  
  439.   if it is not empty then
  440.     put it into holder
  441.     set lockscreen to true
  442.     set cursor to 4
  443.     go to stack job file
  444.     find holder in bkgnd field "job #"
  445.  
  446.     if the result is not empty then
  447.       play boing
  448.       answer "Can't Find That Job #"
  449.       set cursor to 4
  450.       pop card
  451.       set lockscreen to false
  452.     end if
  453.   end if
  454.  
  455.  
  456. end mouseUp
  457.  
  458.  
  459.  
  460. -- part 26 (button)
  461. -- low flags: 80
  462. -- high flags: A003
  463. -- rect: left=245 top=272 right=292 bottom=298
  464. -- title width / last selected line: 0
  465. -- icon id / first selected line: 0 / 0
  466. -- text alignment: 1
  467. -- font id: 0
  468. -- text size: 12
  469. -- style flags: 0
  470. -- line height: 16
  471. -- part name: Done
  472. ----- HyperTalk script -----
  473. on mouseUp
  474.   hide bkgnd button "done"
  475.   hide bkgnd field "hidden about"
  476.   set the scroll of bkgnd field "hidden about" to 1
  477. end mouseUp
  478.  
  479.  
  480.  
  481.  
  482. -- part 28 (button)
  483. -- low flags: 00
  484. -- high flags: 0000
  485. -- rect: left=385 top=24 right=58 bottom=420
  486. -- title width / last selected line: 0
  487. -- icon id / first selected line: 1004 / 1004
  488. -- text alignment: 1
  489. -- font id: 0
  490. -- text size: 12
  491. -- style flags: 0
  492. -- line height: 16
  493. -- part name: Letter
  494. ----- HyperTalk script -----
  495. on mouseup
  496.   beep
  497.   answer "You should go to the appropriate stack first."
  498.  
  499. end mouseup
  500.  
  501.  
  502.  
  503. -- part 29 (button)
  504. -- low flags: 00
  505. -- high flags: 2000
  506. -- rect: left=1 top=301 right=337 bottom=41
  507. -- title width / last selected line: 0
  508. -- icon id / first selected line: 17343 / 17343
  509. -- text alignment: 1
  510. -- font id: 0
  511. -- text size: 12
  512. -- style flags: 0
  513. -- line height: 16
  514. -- part name: Applications
  515. ----- HyperTalk script -----
  516. on mouseUp
  517.   hide bkgnd field "hidden about"
  518.   play harpsichord
  519.   ask "Which application would you like to open?"
  520.   if it is not empty then
  521.     suspend
  522.     open it
  523.   else if it is empty then
  524.     exit mouseup
  525.   end if
  526.  
  527. end mouseUp
  528.  
  529.  
  530.  
  531. -- part 40 (button)
  532. -- low flags: 80
  533. -- high flags: A003
  534. -- rect: left=76 top=29 right=54 bottom=178
  535. -- title width / last selected line: 0
  536. -- icon id / first selected line: 0 / 0
  537. -- text alignment: 1
  538. -- font id: 0
  539. -- text size: 12
  540. -- style flags: 0
  541. -- line height: 16
  542. -- part name: OKAY
  543. ----- HyperTalk script -----
  544. on mouseUp
  545.   hide bkgnd button "OKAY"
  546.   hide bkgnd field "bugs headline"
  547.   hide bkgnd field "bugs"
  548. end mouseUp
  549.  
  550.  
  551.  
  552. -- part 30 (button)
  553. -- low flags: 00
  554. -- high flags: 2000
  555. -- rect: left=2 top=23 right=52 bottom=41
  556. -- title width / last selected line: 0
  557. -- icon id / first selected line: 20098 / 20098
  558. -- text alignment: 1
  559. -- font id: 0
  560. -- text size: 12
  561. -- style flags: 0
  562. -- line height: 16
  563. -- part name: Home
  564. ----- HyperTalk script -----
  565. on mouseUp
  566.   push this card
  567.   visual effect dissolve   to white
  568.   visual effect dissolve
  569.   go home
  570. end mouseUp
  571.  
  572.  
  573.  
  574. -- part 36 (button)
  575. -- low flags: 00
  576. -- high flags: A001
  577. -- rect: left=428 top=135 right=182 bottom=466
  578. -- title width / last selected line: 0
  579. -- icon id / first selected line: 2 / 2
  580. -- text alignment: 1
  581. -- font id: 0
  582. -- text size: 12
  583. -- style flags: 0
  584. -- line height: 16
  585. -- part name: Bugs!
  586. ----- HyperTalk script -----
  587. on mouseUp
  588.   hide bkgnd field "hidden about"
  589.   hide bkgnd button "done"
  590.   play boing
  591.   show bkgnd  button "okay"
  592.   show bkgnd field "bugs headline"
  593.   show bkgnd field "bugs"
  594.  
  595.  
  596. end mouseUp
  597.  
  598.  
  599.  
  600. -- part 37 (button)
  601. -- low flags: 00
  602. -- high flags: A003
  603. -- rect: left=62 top=90 right=114 bottom=129
  604. -- title width / last selected line: 0
  605. -- icon id / first selected line: 0 / 0
  606. -- text alignment: 1
  607. -- font id: 0
  608. -- text size: 12
  609. -- style flags: 0
  610. -- line height: 16
  611. -- part name: Vendors
  612. ----- HyperTalk script -----
  613. on mouseUp
  614.   set cursor to 4
  615.   hide bkgnd field "hidden about"
  616.   push this card
  617.   visual effect dissolve  to white
  618.   visual effect dissolve
  619.   go to stack "Vendors"
  620. end mouseUp
  621.  
  622.  
  623.  
  624. -- part 38 (field)
  625. -- low flags: 80
  626. -- high flags: 2007
  627. -- rect: left=43 top=58 right=336 bottom=504
  628. -- title width / last selected line: 0
  629. -- icon id / first selected line: 0 / 0
  630. -- text alignment: 0
  631. -- font id: 3
  632. -- text size: 12
  633. -- style flags: 0
  634. -- line height: 16
  635. -- part name: Bugs
  636.  
  637.  
  638. -- part 39 (field)
  639. -- low flags: 81
  640. -- high flags: 0001
  641. -- rect: left=208 top=24 right=58 bottom=503
  642. -- title width / last selected line: 0
  643. -- icon id / first selected line: 0 / 0
  644. -- text alignment: 1
  645. -- font id: 3
  646. -- text size: 12
  647. -- style flags: 256
  648. -- line height: 22
  649. -- part name: bugs headline
  650.  
  651.  
  652. -- part 44 (field)
  653. -- low flags: 81
  654. -- high flags: 2007
  655. -- rect: left=43 top=24 right=286 bottom=279
  656. -- title width / last selected line: 0
  657. -- icon id / first selected line: 0 / 0
  658. -- text alignment: 0
  659. -- font id: 3
  660. -- text size: 12
  661. -- style flags: 0
  662. -- line height: 16
  663. -- part name: Crew List
  664. ----- HyperTalk script -----
  665.  
  666. on mousedown
  667.   set the lockText of me to false
  668.   put empty into message box
  669. end mousedown
  670.  
  671. on mouseup
  672.  
  673.   hide message box
  674.   set the locktext of me to true
  675.   if the message box is empty then
  676.     beep
  677.     answer "Press Command Key during name selection."
  678.     repeat 5
  679.       hide card field "click on name"
  680.       show card field "click on name"
  681.     end repeat
  682.  
  683.     exit mouseup
  684.   end if
  685.   get message
  686.   put it & return after bkgnd field "job crew list"
  687. end mouseup
  688.  
  689.  
  690.  
  691.  
  692.  
  693. -- part 45 (field)
  694. -- low flags: 80
  695. -- high flags: 2007
  696. -- rect: left=279 top=24 right=286 bottom=504
  697. -- title width / last selected line: 0
  698. -- icon id / first selected line: 0 / 0
  699. -- text alignment: 0
  700. -- font id: 3
  701. -- text size: 12
  702. -- style flags: 0
  703. -- line height: 16
  704. -- part name: Job Crew List
  705.